<!DOCTYPE html>
  <html>
  <head>
      <meta charset="utf-8">
      <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
      <title>title</title>
      <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
      <link rel="stylesheet" type="text/css" href="../../css/common.css" />
  		<link rel="stylesheet" type="text/css" href="../../css/aui.css" />
      <link rel="stylesheet" type="text/css" href="../../css/aui-pull-refresh.css" />
      <style>
      	html, body {width: 100%;min-height: 100%;background: #f0f0f0;}
      	.h10 {height: 10px;background: #f0f0f0;}
  		.h1 {height: 1px;margin-left: 15px;background: #f0f0f0;}
  		.fr {float: right;}
  		.hint {color: #666;font-size: 12px;margin-right: 5px;}
  		.aui-title{color: #fff}

  		.presshover {background-color: #FAFAFA;}
      </style>
  </head>
  <body>
    <div id="app">

    	<header id="header_top" class="aui-bar aui-bar-nav" style="">

        <a class="aui-pull-left" onclick="openCloseBack()">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
    	    <div class="aui-title">通知详情标题</div>

    	</header>

  </div>

  </body>

  <script type="text/javascript" src="../../script/api.js"></script>
  <script type="text/javascript" src="../../script/zepto.js"></script>
  <script type="text/javascript" src="../../script/vue.min.js"></script>
  <script type="text/javascript" src="../../script/utils.js"></script>
  <script type="text/javascript" src="../../script/common.js"></script>
  <script type="text/javascript">
  function openCloseBack(){
    api.closeWin();

    // 查看消息后 页面的获取消息总数方法
    api.execScript({
        name: 'root',
        script: 'get_alll_msg();'
    });


    if(api.pageParam.isread==1){

      api.sendEvent({
          name: 'xiugai_tz',
          extra: {
              key1: 'value1',
              key2: 'value2'
          }
      });

    }


  }

  function apiready(){
    var header_top = $api.byId('header_top');
  	var header_topPos = $api.offset(header_top);
  	$api.fixStatusBar(header_top);



    api.addEventListener({
        name: 'keyback'
    }, function(ret, err) {
      api.closeWin();
      // 查看消息后 页面的获取消息总数方法
      api.execScript({
          name: 'root',
          script: 'get_alll_msg();'
      });
    });



    var headerH = $('#app').height();

    api.openFrame({
        name: 'user_notic_details_frm',
        url: './user_notic_details_frm.html',
        rect: {
            x: 0,
            y: headerH,
            w: 'auto',
            h: 'auto'
        },
        pageParam: {
            id:api.pageParam.id
        },
        bounces: false,
        bgColor: 'rgba(0,0,0,0)',
        vScrollBarEnabled: true,
        hScrollBarEnabled: true
    });


    $('.aui-title').html(api.pageParam.title);





}









  </script>
  </html>
